<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%-- 包含 --%>
<%@ include file="/common/include/page.jsp"%>
<%-- 如何在JSP页面上取url的参数呢?
	在JSP中的el表达式有一个知识点和request.getParamater("operType");
	${param.operType } param.参数名
--%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<div class="accordion" fillSpace="sidebar">
	<div class="accordionContent">
		<c:choose>
			<c:when test="${param.operType == 'users' }">
				<ul class="tree treeFolder">
					<li><a href="tabsPage.html" target="navTab">用户管理</a>
						<ul>
							<li><a href="main.html" target="navTab" rel="main">用户列表</a></li>
							<li><a href="http://www.baidu.com" target="navTab"
								rel="page1">用户添加</a></li>
						</ul></li>
				</ul>
			</c:when>
			<%--
				navTab:表示重新打开一个新的选项卡
				rel:每一个选项卡名称唯一
			--%>
			
			<c:when test="${param.operType == 'system' }">
				<ul class="tree treeFolder">
					<li><a href="${rootPath }/back/admins/adminsList.htm" target="navTab" rel="adminslist">管理员列表</a>
						<ul>
							<li><a href="${rootPath }/back/admins/adminsList.htm" target="navTab" rel="adminslist">管理员列表</a></li>
							<li><a href="${rootPath }/back/admins/adminsInsert.htm" target="navTab"rel="page1">管理员添加</a></li>
						</ul>
					</li>
				</ul>
				
				<ul class="tree treeFolder">
					<li><a href="${rootPath }/back/admins/menuList.htm" target="navTab" rel="menuList">菜单列表</a>
						<ul>
							<li><a href="${rootPath }/back/admins/menuList.htm" target="navTab" rel="menuList">菜单列表</a>
							<li><a href="${rootPath }/back/admins/menuTreeList.htm" target="navTab" rel="menuTreeList">菜单列表(树形结构)</a></li>
							<li><a href="${rootPath }/back/admins/menuInsert.htm" target="navTab"rel="menuInsert">菜单添加(根节点)</a></li>
						</ul>
					</li>
				</ul>
			</c:when>
		</c:choose>

	</div>
</div>